package com.shop.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@TableName(value ="orders_detail")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrdersDetail implements Serializable {
    /**
     * 主键Id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 商品名
     */
    @TableField(value = "wares_name")
    private String WaresName;

    /**
     * 商品款式名
     */
    @TableField(value = "style_name")
    private String styleName;

    /**
     * 套餐信息
     */
    @TableField(value = "cost_message")
    private String costMessage;

    /**
     * 套餐价格
     */
    @TableField(value = "cost_price")
    private Double costPrice;

    /**
     * 订单ID
     */
    @TableField(value = "orders_id")
    private String ordersId;

    /**
     * 购买数量
     */
    @TableField(value = "wares_number")
    private Integer waresNumber;

    /**
     * 是否删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 删除理由
     */
    @TableField(value = "remove_memo")
    private String removeMemo;

    /**
     * 删除者
     */
    @TableField(value = "remove_admin")
    private String removeAdmin;

}